package com.example.spring6iocxml.demoBean;

import org.springframework.beans.factory.FactoryBean;

/**
 * @ClassName UserFactoryBean
 * @Date 2024/5/27 22:10
 * @Description TODO
 * @User lihuajie
 * @Version 1.0.0
 **/
public class UserFactoryBean implements FactoryBean {

    @Override
    public User getObject() throws Exception {
        return new User();
    }

    @Override
    public Class<?> getObjectType() {
        return User.class;
    }
}
